<?php
#
# author: Phil Spagnolo
# (c)2008 South Hill Calvary Chapel
#

include_once("./root.inc.php");
include_once("${root}/mysql/database_info.php");
include_once("${root}/common.php");
include_once("${root}/mysql/common.php");

$meta_key = 'calendar, events, regular, fun, action, advent, adventure, affair, appearance, business, celebration, ceremony, chance, circumstance, deed, development, experience, exploit, function, holiday, occasion, occurrence, proceeding';
$meta_desc='Current and Regular events that occur at South Hill Calvary Chapel.';
print_html_head('Upcoming and Regular Events',$meta_key,$meta_desc);

$admin = $_GET['admin'];

print_java_head(NULL);

begin_body();


$linkList = array("events.php"); 
$textList = array("Current Events"); 
in_page_link(1, false, $linkList, $textList, NULL);
if (empty($admin) || $admin != 'T') {
	page_title("Church Calendar");
	print('<iframe src="https://www.google.com/calendar/b/0/embed?title=Calendar%20of%20Events&amp;showTitle=0&amp;height=700&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=32j8g2dv0hjfpb92ndv99q39kc%40group.calendar.google.com&amp;color=%23060D5E&amp;ctz=America%2FLos_Angeles" style=" border-width:0 " width="940" height="700" frameborder="0" scrolling="no"></iframe>');
} else {
	page_title("Admin Calendar");
	print('<iframe src="https://www.google.com/calendar/b/0/embed?showTitle=0&amp;height=700&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=2vtfj35fovrp5m9cuoepmbusg0%40group.calendar.google.com&amp;color=%230D7813&amp;src=32j8g2dv0hjfpb92ndv99q39kc%40group.calendar.google.com&amp;color=%232952A3&amp;ctz=America%2FLos_Angeles" style=" border-width:0 " width="960" height="700" frameborder="0" scrolling="no"></iframe>');
}

in_page_link(1, false, $linkList, $textList, NULL);

end_body();
?>
